<?php
/**
 * Description of OSLogin
 *
 * @author GodSon
 */
class OSLogin extends CI_Controller{

    public function index(){
        $this->load->view('login');
    }
    
    function login(){
      $this->load->model('OS_login');
      $result = $this->OS_login->login();
      if($result > 0){
          echo "success";
      }else{
           echo "error";
      }
    }
}

?>
